createAudioFromVideo

abstract fun createAudioFromVideo(videoFill: DesignBlock, trackIndex: Int, options: AudioFromVideoOptions = AudioFromVideoOptions()): DesignBlock

Create a new audio block by extracting a specific audio track from a video fill block.

Return

the handle of the newly created audio block.

Parameters

videoFill

the video fill block to extract audio from.

trackIndex

the index of the audio track to extract (0-based).

options

the options for configuring the audio extraction operation.